const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  chainWebpack: config => {
    config
      .plugin('html')
      .tap(args => {
        args[0].title = '帝可得'
        return args
      })
  },
  publicPath: '/',
  devServer: {
    proxy: {
      '/api': {
        target: 'http://likede2-admin.itheima.net/likede/'
      }
    }
  }
})
